#ifndef __BUZZ_H
#define __BUZZ_H

#include "stm32f10x.h"
#include "delay.h"

#define BUZZ_PORT   GPIOB
#define BUZZ_PIN    GPIO_Pin_6

#define BUZZ_ON()   GPIO_SetBits(BUZZ_PORT,BUZZ_PIN)
#define BUZZ_OFF()  GPIO_ResetBits(BUZZ_PORT,BUZZ_PIN)

void BUZZ_Inital(void);
void BUZZ_KEY(void);
void BUZZ_Delay(u16 t);
#endif

